package com.caishi.lkx.user.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BSDEntity;
import com.caishi.lkx.common.ienum.DeviceType;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author by keray
 * date:2021/4/6 11:05 上午
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("cu_user_login_expand")
public class LoginExpandModel extends BSDEntity<LoginExpandModel> {


    /**
     * 登录失败次数
     */
    private Integer failureCount;

    private String loginIp;

    private LocalDateTime loginTime;

    private DeviceType deviceType;

    private String deviceName;

    private String userId;
}
